﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApp1.AdminSection
{
    public partial class WebSiteMenuDetails : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (WebApp1.Models.SecurityCheckManager.IsAdminPortalEabled() == false)
            {
                Response.Write("You should be the admin....");
                return;
            }


            string domain = this.Request.QueryString.Get("domain");
            string menuUrl = this.Request.QueryString.Get("url");

            Response.Write("Domain is " + domain);
            Response.Write("<br/>");
            Response.Write("Menu Url  is " + menuUrl);

        }
    }
}